import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import 'element-plus/theme-chalk/dark/css-vars.css'
import App from './App.vue'
import router from './router'
import './assets/style/index.scss'
import 'nprogress/nprogress.css'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import api from '@/api'
import store from '@/store'
import './assets/fonts/iconfont.css'
import animated from 'animate.css'
const app = createApp(App)
app.config.globalProperties.$api=api
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component)
}
app.use(ElementPlus).use(router).use(store).use(animated).mount('#app')
